import static org.junit.Assert.*;

import org.junit.Test;

public class HyperlinkTest
{
    @Test
    public void testJUnit()
    {
	assertTrue("Hope this not Minge", true);
    }

    @Test
    public void testHyperlink()
    {
	assertNotNull(new Hyperlink("Minge", "www.rose-hulman.edu"));
    }

    @Test
    public void testHyperLinkGetTitle()
    {
	Hyperlink test = new Hyperlink("Minge", "www.rose-hulman.edu");
	assertEquals(test.getTitle(), "Minge");
    }

    @Test
    public void testHyperlinkGetURL()
    {
	Hyperlink test = new Hyperlink("Minge", "www.rose-hulman.edu");
	assertEquals(test.getUrl(), "www.rose-hulman.edu");
    }
}
